import {get, post, put} from '../utils/request'

// 封装商家模块
// 获取商家列表
export const sellerVerifyList = (params) => {
    return get(`/admin/basic/business/info/list`, params)
}
export const sellerVerifyAdd = (data) => {
    return post('/admin/basic/business/info/save', data)
}
export const sellerVerifyEdit = (data) => {
    return put('/admin/basic/business/info/updateStatus', data)
}
// 获取行业类型
export const sellerIndustryList = () => {
    return get('/admin/basic/business/category/list/')
}
// 获取商家详情
export const sellerVerifyDetail = (id) => {
    return get(`/admin/basic/business/info/detail/${id}`)
}
